package net.rock.eshop.entity;

import lombok.Data;

@Data
public class Comment {
    private int id;
    private int bookId;
    private int userId;
    private int score;
    private String content;

    public Comment() {}

    public Comment(int bookId, int userId, int score, String content) {
        this.bookId = bookId;
        this.userId = userId;
        this.score = score;
        this.content = content;
    }
}
